# -*- encoding:utf-8 -*-
# !/usr/bin/env python
'''
    python-0810-10.py
    ======================
    @descript: 
    @copyright:nnz
    @author:dln
    @date: 2021/8/11 12:21
    @version:v1.0
'''
class A:
    v_01='类变量'
    def __init__(self):
        self.v_02='对象变量'
        pass
    def method01(self):         #直接操作对象内容
        print(self.v_02)
        print(A.v_01)
        pass
    pass

    @classmethod
    def method02(cls):
        print(A.v_01)
        pass
v_restul=A()
v_restul.method01()
print(v_restul)
v_restul.method02()
